
// 由于懒加载页面太多会造成webpack热更新太慢，所以开发环境不使用懒加载，只有生产环境使用懒加载
const _import = require("@/utils/util.import." + process.env.NODE_ENV)

// 普通页面的显示
const page = [
    {
        path: "/",
        name: "index",
        component: _import("page-index/index")
    },
    {
        path: "/2",
        name: "index2",
        component: _import("demo/defaule2")
    },
    {
        path: "/que",
        name: "indqueex2",
        component: _import("demo/que-demo")
    },
    {
        path: "/regist",
        name: "regist",
        component: _import("page-index/user-regist")
    },
    {
        path: "/login",
        name: "login",
        component: _import("page-index/user-login")
    },
    {
        path: "/forget",
        name: "forget",
        component: _import("page-index/user-forget")
    },
]

// 导出
export default page